// for some reason, the resulting size isn't what we're asking (window currently has a border?) so determine what the difference is and add it to the resize
var diffw = SBDataGetIntValue( root + ".w" ) - document.documentElement.boxObject.width;
var diffh = SBDataGetIntValue( root + ".h" ) - document.documentElement.boxObject.height;